﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NExplorer
{
	public class ColumnItemData
	{
		private readonly string _text;
		private readonly object _data;

		public ColumnItemData(object o)
			:this(o.ToString(), o)
		{}

		public ColumnItemData(string text)
			:this(text, text)
		{}

		public ColumnItemData(string text, object data)
		{
			_text = text;
			_data = data;
		}

		public string Text
		{
			get { return _text; }
		}

		public object Data
		{
			get { return _data; }
		}
	}
}
